[. . . ] Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copyright laws of the United States. Government End Users, Adobe agrees to comply with all applicable equal opportunity laws including, if appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam Era Veterans Readjustment Assistance Act of 1974 (38 USC 4212), and Section 503 of the Rehabilitation Act of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60, 60-250, and 60-741. The affirmative action clause and regulations contained in the preceding sentence shall be incorporated by reference. [. . . ] SOFT1) { // Handle left soft key event: gotoAndStop("locations"); } else if (keyCode == ExtendedKey. GetSize () == 0) { // The shared object doesn't exist, so the user // hasn't set a preference yet. Text = "Butter lettuce with apples, blood orange segments, gorgonzola, and raspberry vinaigrette. Text = "Filet of wild salmon with caramelized onions, new potatoes, and caper and tomato salsa. SOFT1) { // Handle left soft key event gotoAndPlay ("home"); } else if (keyCode == ExtendedKey. 2 Open the Library options menu located in the upper-right corner of the Library panel and select New Video. 3 In the Video Properties dialog box, do the following: a Enter a name for the video symbol in the Symbol box (Cafe video, for example). If you don’t see the video file (or if you can see it but can’t select it), select All Files (*. *) from the Files Of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). 4 Make sure the Video Properties dialog box appears as follows, and click OK: A new video symbol appears in the Library panel. GotoAndPlay ("home"); } // Run this code if the user presses the right soft key else if (keyCode == ExtendedKey. SOFT2) { // If the video is playing, run this code if (videoIsPlaying){ // Pause or restart the video (this method does both). Text = "Play"; } // If the video has finished playing, run this code. When the video has finished playing, press the Right soft key to play it again. SOFT2) { // Cancel operation, go back to home screen gotoAndPlay ("home"); } }; Key. AddListener (myListener); /* The savenewLocation() function is called when the user presses "Save" (left soft key). It updates the "location" shared object with the phone # associated with that location. */ function saveNewLocation () { // Determine which button (location) the user selected: var selectedButton = Selection. PhoneNumber = "650-555-1212"; break; } } /* The setLocation() function sets the section to the currently selected location, based on the phone number saved in the shared object. PhoneNumber; // Extract area code from phone number: var areaCode:String = loc. [. . . ] OnSetFocus = function (oldFocus, newFocus) { // Enable/disable selection indicator: if (newFocus instanceof TextField) { // Set border color of text field with new focus to red: newFocus. 9 Ouvrez le panneau Actions (Fenêtre > Actions), puis tapez le code indiqué ci-dessous : // Disable the focus rectangle because buttons have an over state _focusRect = false; // Event handlers for btn_1 btn_1. OnRollOut = function() { trace("Button 1 lost focus"); } // Event handlers for btn_2 btn_2. 11 Ouvrez le panneau Actions (Fenêtre > Actions), puis tapez le code indiqué ci-dessous : // Disable the focus rectangle because buttons have an over state _focusRect = false; btn_news. [. . . ]